package com.example.jh352160.surfingtv.network.item;

import java.util.List;

/**
 * Created by jh352160 on 2016/8/12
 */

public class MyPageFavoriteThematicItem {

    /**
     * code : 200
     * message : OK
     * data : {"offset":0,"limit":16,"total":4,"sortField":"lastUpdate","sortOrder":"DESC","items":[{"favoriteId":17122,"type":3,"topic":{"displayOrder":1,"status":"NORMAL","createBy":1,"createTime":1469441210000,"updateBy":1,"updateTime":1469701850000,"version":0,"lastUpdate":1469701849000,"contentId":16053,"contentType":1,"title":"霸屏女神赵丽颖时尚与槽点并存","summary":"当红女神时尚理念","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/05ef3569-e8ce-4598-a969-0edb4bf79e09/","videoUrl":null,"parent":"program-15251","contentCategory":15086,"likeQuantity":0,"likeStatus":0,"contentStatus":0,"template":"1","body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/18d3ed5e-3ddf-448f-b76f-c27dd2f638a1/\",\"displayOrder\":0,\"products\":[{\"productId\":15800,\"productName\":\"字母印花T恤 大牌也走可爱风\",\"x\":\"34\",\"y\":\"29\",\"anchor\":\"T恤\",\"$$hashKey\":\"object:4376\"},{\"productId\":15818,\"productName\":\"一条适合你的裙子 搭什么都可以\",\"x\":\"43\",\"y\":\"32\",\"anchor\":\"裙子\",\"$$hashKey\":\"object:4543\"},{\"productId\":15827,\"productName\":\"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有\",\"x\":\"68\",\"y\":\"42\",\"anchor\":\"背带裤\",\"$$hashKey\":\"object:4710\"},{\"productId\":15836,\"productName\":\"裸色连衣裙 让你少女力爆表\",\"x\":\"34\",\"y\":\"55\",\"anchor\":\"连衣裙\",\"$$hashKey\":\"object:4877\"},{\"productId\":15842,\"productName\":\"一条白色连衣裙让你又仙又飘\",\"x\":\"70\",\"y\":\"67\",\"anchor\":\"连衣裙\",\"$$hashKey\":\"object:5044\"}],\"$$hashKey\":\"object:12815\"}]","detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=16053","favorited":true,"favoriteCount":4,"shareCount":0}},{"favoriteId":17077,"type":3,"topic":{"displayOrder":1,"status":"NORMAL","createBy":1,"createTime":1469437193000,"updateBy":1,"updateTime":1469777550000,"version":0,"lastUpdate":1469777550000,"contentId":15398,"contentType":1,"title":"大表姐完美演绎夏日清爽穿搭","summary":"陈燃的夏日穿搭、邻家女孩风你get到了么？","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/c615acea-7799-472c-88aa-4e63a6715080/","videoUrl":null,"parent":"program-15347","contentCategory":15088,"likeQuantity":0,"likeStatus":0,"contentStatus":0,"template":"1","body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/497dc40d-79d9-4fbe-b573-0fe00f5adc52/\",\"displayOrder\":0,\"products\":[{\"productId\":15639,\"productName\":\"让你过一个blingbling的夏天～\",\"x\":\"52\",\"y\":\"43\",\"anchor\":\"打底衫\",\"$$hashKey\":\"object:11096\"},{\"productId\":15588,\"productName\":\"淑女熟女都爱的裙子\",\"x\":\"55\",\"y\":\"30\",\"anchor\":\"裙子\",\"$$hashKey\":\"object:11262\"},{\"productId\":15570,\"productName\":\"阔腿背带裤 一条裤子两个潮流元素\",\"x\":\"57\",\"y\":\"47\",\"anchor\":\"背带裤\",\"$$hashKey\":\"object:11425\"}],\"$$hashKey\":\"object:327\"}]","detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=15398","favorited":true,"favoriteCount":1,"shareCount":0}}]}
     */

    private String code;
    private String message;
    /**
     * offset : 0
     * limit : 16
     * total : 4
     * sortField : lastUpdate
     * sortOrder : DESC
     * items : [{"favoriteId":17122,"type":3,"topic":{"displayOrder":1,"status":"NORMAL","createBy":1,"createTime":1469441210000,"updateBy":1,"updateTime":1469701850000,"version":0,"lastUpdate":1469701849000,"contentId":16053,"contentType":1,"title":"霸屏女神赵丽颖时尚与槽点并存","summary":"当红女神时尚理念","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/05ef3569-e8ce-4598-a969-0edb4bf79e09/","videoUrl":null,"parent":"program-15251","contentCategory":15086,"likeQuantity":0,"likeStatus":0,"contentStatus":0,"template":"1","body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/18d3ed5e-3ddf-448f-b76f-c27dd2f638a1/\",\"displayOrder\":0,\"products\":[{\"productId\":15800,\"productName\":\"字母印花T恤 大牌也走可爱风\",\"x\":\"34\",\"y\":\"29\",\"anchor\":\"T恤\",\"$$hashKey\":\"object:4376\"},{\"productId\":15818,\"productName\":\"一条适合你的裙子 搭什么都可以\",\"x\":\"43\",\"y\":\"32\",\"anchor\":\"裙子\",\"$$hashKey\":\"object:4543\"},{\"productId\":15827,\"productName\":\"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有\",\"x\":\"68\",\"y\":\"42\",\"anchor\":\"背带裤\",\"$$hashKey\":\"object:4710\"},{\"productId\":15836,\"productName\":\"裸色连衣裙 让你少女力爆表\",\"x\":\"34\",\"y\":\"55\",\"anchor\":\"连衣裙\",\"$$hashKey\":\"object:4877\"},{\"productId\":15842,\"productName\":\"一条白色连衣裙让你又仙又飘\",\"x\":\"70\",\"y\":\"67\",\"anchor\":\"连衣裙\",\"$$hashKey\":\"object:5044\"}],\"$$hashKey\":\"object:12815\"}]","detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=16053","favorited":true,"favoriteCount":4,"shareCount":0}},{"favoriteId":17077,"type":3,"topic":{"displayOrder":1,"status":"NORMAL","createBy":1,"createTime":1469437193000,"updateBy":1,"updateTime":1469777550000,"version":0,"lastUpdate":1469777550000,"contentId":15398,"contentType":1,"title":"大表姐完美演绎夏日清爽穿搭","summary":"陈燃的夏日穿搭、邻家女孩风你get到了么？","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/c615acea-7799-472c-88aa-4e63a6715080/","videoUrl":null,"parent":"program-15347","contentCategory":15088,"likeQuantity":0,"likeStatus":0,"contentStatus":0,"template":"1","body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/497dc40d-79d9-4fbe-b573-0fe00f5adc52/\",\"displayOrder\":0,\"products\":[{\"productId\":15639,\"productName\":\"让你过一个blingbling的夏天～\",\"x\":\"52\",\"y\":\"43\",\"anchor\":\"打底衫\",\"$$hashKey\":\"object:11096\"},{\"productId\":15588,\"productName\":\"淑女熟女都爱的裙子\",\"x\":\"55\",\"y\":\"30\",\"anchor\":\"裙子\",\"$$hashKey\":\"object:11262\"},{\"productId\":15570,\"productName\":\"阔腿背带裤 一条裤子两个潮流元素\",\"x\":\"57\",\"y\":\"47\",\"anchor\":\"背带裤\",\"$$hashKey\":\"object:11425\"}],\"$$hashKey\":\"object:327\"}]","detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=15398","favorited":true,"favoriteCount":1,"shareCount":0}}]
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int offset;
        private int limit;
        private int total;
        private String sortField;
        private String sortOrder;
        /**
         * favoriteId : 17122
         * type : 3
         * topic : {"displayOrder":1,"status":"NORMAL","createBy":1,"createTime":1469441210000,"updateBy":1,"updateTime":1469701850000,"version":0,"lastUpdate":1469701849000,"contentId":16053,"contentType":1,"title":"霸屏女神赵丽颖时尚与槽点并存","summary":"当红女神时尚理念","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/05ef3569-e8ce-4598-a969-0edb4bf79e09/","videoUrl":null,"parent":"program-15251","contentCategory":15086,"likeQuantity":0,"likeStatus":0,"contentStatus":0,"template":"1","body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/18d3ed5e-3ddf-448f-b76f-c27dd2f638a1/\",\"displayOrder\":0,\"products\":[{\"productId\":15800,\"productName\":\"字母印花T恤 大牌也走可爱风\",\"x\":\"34\",\"y\":\"29\",\"anchor\":\"T恤\",\"$$hashKey\":\"object:4376\"},{\"productId\":15818,\"productName\":\"一条适合你的裙子 搭什么都可以\",\"x\":\"43\",\"y\":\"32\",\"anchor\":\"裙子\",\"$$hashKey\":\"object:4543\"},{\"productId\":15827,\"productName\":\"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有\",\"x\":\"68\",\"y\":\"42\",\"anchor\":\"背带裤\",\"$$hashKey\":\"object:4710\"},{\"productId\":15836,\"productName\":\"裸色连衣裙 让你少女力爆表\",\"x\":\"34\",\"y\":\"55\",\"anchor\":\"连衣裙\",\"$$hashKey\":\"object:4877\"},{\"productId\":15842,\"productName\":\"一条白色连衣裙让你又仙又飘\",\"x\":\"70\",\"y\":\"67\",\"anchor\":\"连衣裙\",\"$$hashKey\":\"object:5044\"}],\"$$hashKey\":\"object:12815\"}]","detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=16053","favorited":true,"favoriteCount":4,"shareCount":0}
         */

        private List<ItemsBean> items;

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getSortField() {
            return sortField;
        }

        public void setSortField(String sortField) {
            this.sortField = sortField;
        }

        public String getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(String sortOrder) {
            this.sortOrder = sortOrder;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            private int favoriteId;
            private int type;
            /**
             * displayOrder : 1
             * status : NORMAL
             * createBy : 1
             * createTime : 1469441210000
             * updateBy : 1
             * updateTime : 1469701850000
             * version : 0
             * lastUpdate : 1469701849000
             * contentId : 16053
             * contentType : 1
             * title : 霸屏女神赵丽颖时尚与槽点并存
             * summary : 当红女神时尚理念
             * imageUrl : http://app4tv.sudaotech.com/platform/image/1/20160727/05ef3569-e8ce-4598-a969-0edb4bf79e09/
             * videoUrl : null
             * parent : program-15251
             * contentCategory : 15086
             * likeQuantity : 0
             * likeStatus : 0
             * contentStatus : 0
             * template : 1
             * body : [{"type":"image","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/18d3ed5e-3ddf-448f-b76f-c27dd2f638a1/","displayOrder":0,"products":[{"productId":15800,"productName":"字母印花T恤 大牌也走可爱风","x":"34","y":"29","anchor":"T恤","$$hashKey":"object:4376"},{"productId":15818,"productName":"一条适合你的裙子 搭什么都可以","x":"43","y":"32","anchor":"裙子","$$hashKey":"object:4543"},{"productId":15827,"productName":"牛仔背带裤你可以没有 但是竖条纹的背带裤你得有","x":"68","y":"42","anchor":"背带裤","$$hashKey":"object:4710"},{"productId":15836,"productName":"裸色连衣裙 让你少女力爆表","x":"34","y":"55","anchor":"连衣裙","$$hashKey":"object:4877"},{"productId":15842,"productName":"一条白色连衣裙让你又仙又飘","x":"70","y":"67","anchor":"连衣裙","$$hashKey":"object:5044"}],"$$hashKey":"object:12815"}]
             * detailUrl : http://app4tv.sudaotech.com/mobile/contentDetail.html?id=16053
             * favorited : true
             * favoriteCount : 4
             * shareCount : 0
             */

            private TopicBean topic;

            public int getFavoriteId() {
                return favoriteId;
            }

            public void setFavoriteId(int favoriteId) {
                this.favoriteId = favoriteId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public TopicBean getTopic() {
                return topic;
            }

            public void setTopic(TopicBean topic) {
                this.topic = topic;
            }

            public static class TopicBean {
                private int displayOrder;
                private String status;
                private int createBy;
                private long createTime;
                private int updateBy;
                private long updateTime;
                private int version;
                private long lastUpdate;
                private int contentId;
                private int contentType;
                private String title;
                private String summary;
                private String imageUrl;
                private Object videoUrl;
                private String parent;
                private int contentCategory;
                private int likeQuantity;
                private int likeStatus;
                private int contentStatus;
                private String template;
                private String body;
                private String detailUrl;
                private boolean favorited;
                private int favoriteCount;
                private int shareCount;

                public int getDisplayOrder() {
                    return displayOrder;
                }

                public void setDisplayOrder(int displayOrder) {
                    this.displayOrder = displayOrder;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public int getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(int createBy) {
                    this.createBy = createBy;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public int getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(int updateBy) {
                    this.updateBy = updateBy;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public long getLastUpdate() {
                    return lastUpdate;
                }

                public void setLastUpdate(long lastUpdate) {
                    this.lastUpdate = lastUpdate;
                }

                public int getContentId() {
                    return contentId;
                }

                public void setContentId(int contentId) {
                    this.contentId = contentId;
                }

                public int getContentType() {
                    return contentType;
                }

                public void setContentType(int contentType) {
                    this.contentType = contentType;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getSummary() {
                    return summary;
                }

                public void setSummary(String summary) {
                    this.summary = summary;
                }

                public String getImageUrl() {
                    return imageUrl;
                }

                public void setImageUrl(String imageUrl) {
                    this.imageUrl = imageUrl;
                }

                public Object getVideoUrl() {
                    return videoUrl;
                }

                public void setVideoUrl(Object videoUrl) {
                    this.videoUrl = videoUrl;
                }

                public String getParent() {
                    return parent;
                }

                public void setParent(String parent) {
                    this.parent = parent;
                }

                public int getContentCategory() {
                    return contentCategory;
                }

                public void setContentCategory(int contentCategory) {
                    this.contentCategory = contentCategory;
                }

                public int getLikeQuantity() {
                    return likeQuantity;
                }

                public void setLikeQuantity(int likeQuantity) {
                    this.likeQuantity = likeQuantity;
                }

                public int getLikeStatus() {
                    return likeStatus;
                }

                public void setLikeStatus(int likeStatus) {
                    this.likeStatus = likeStatus;
                }

                public int getContentStatus() {
                    return contentStatus;
                }

                public void setContentStatus(int contentStatus) {
                    this.contentStatus = contentStatus;
                }

                public String getTemplate() {
                    return template;
                }

                public void setTemplate(String template) {
                    this.template = template;
                }

                public String getBody() {
                    return body;
                }

                public void setBody(String body) {
                    this.body = body;
                }

                public String getDetailUrl() {
                    return detailUrl;
                }

                public void setDetailUrl(String detailUrl) {
                    this.detailUrl = detailUrl;
                }

                public boolean isFavorited() {
                    return favorited;
                }

                public void setFavorited(boolean favorited) {
                    this.favorited = favorited;
                }

                public int getFavoriteCount() {
                    return favoriteCount;
                }

                public void setFavoriteCount(int favoriteCount) {
                    this.favoriteCount = favoriteCount;
                }

                public int getShareCount() {
                    return shareCount;
                }

                public void setShareCount(int shareCount) {
                    this.shareCount = shareCount;
                }
            }
        }
    }
}
